package com.example.administrator.orchardeveryday.dao;

/**
 * Created by Administrator on 15-10-25.
 */
public class DaoFactory {
    private static IDao userDao;

    public static IDao getUserDao() {
        if(userDao==null)
        {
            userDao=new DaoImpl();
        }
        return userDao;
    }
}
